/**
 *
 * Copyright 1991-2010 TEAM International. All rights reserved 
 *
 */
package com.lindenvalley.de.content.user;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

/**
 * @author RuslanI
 *
 */
@Root(name="response", strict=false)
public class User {
	
	public static final int CODE_SUCCESS = 1;
	
	public static final int CODE_DENY = 0;
	
	@Element
	private int code;
	
	@Element
	private String message;
	
	@Element(name="message_code")
	private String messageCode;
	
	@Element(name="access_session", required=false)
	private String session;
	
	@Element(name="firstname", required=false)
	private String firstName;
	
	@Element(name="lastname", required=false)
	private String lastName;
	
	@Element(name="projects_ping", required=false)
	private int pingProjects;
	
	@Element(name="tasks_ping", required=false)
	private int pingTasks;
	
	@Element(name="points_ping", required=false)
	private int pingPoints;
	
	@Element(name="company_title", required=false)
	private String companyTitle;
	
	@Element(name="company_logo", required=false)
	private String companyLogo;
	
	@Element(name="user_id", required=false)
	private int userId;
	
	
	
	/**
	 * @return the code
	 */
	public int getCode() {
		return code;
	}
	/**
	 * @param code the code to set
	 */
	public void setCode(int code) {
		this.code = code;
	}
	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	/**
	 * @return the messageCode
	 */
	public String getMessageCode() {
		return messageCode;
	}
	/**
	 * @param messageCode the messageCode to set
	 */
	public void setMessageCode(String messageCode) {
		this.messageCode = messageCode;
	}
	/**
	 * @return the session
	 */
	public String getSession() {
		return session;
	}
	/**
	 * @param session the session to set
	 */
	public void setSession(String session) {
		this.session = session;
	}
	
	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}
	/**
	 * @param firstName the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}
	/**
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	/**
	 * @return the pingProjects
	 */
	public int getPingProjects() {
		return pingProjects;
	}
	/**
	 * @param pingProjects the pingProjects to set
	 */
	public void setPingProjects(int pingProjects) {
		this.pingProjects = pingProjects;
	}
	/**
	 * @return the pingTasks
	 */
	public int getPingTasks() {
		return pingTasks;
	}
	/**
	 * @param pingTasks the pingTasks to set
	 */
	public void setPingTasks(int pingTasks) {
		this.pingTasks = pingTasks;
	}
	/**
	 * @return the pingPoints
	 */
	public int getPingPoints() {
		return pingPoints;
	}
	/**
	 * @param pingPoints the pingPoints to set
	 */
	public void setPingPoints(int pingPoints) {
		this.pingPoints = pingPoints;
	}
	/**
	 * @return the companyTitle
	 */
	public String getCompanyTitle() {
		return companyTitle;
	}
	/**
	 * @param companyTitle the companyTitle to set
	 */
	public void setCompanyTitle(String companyTitle) {
		this.companyTitle = companyTitle;
	}
	/**
	 * @return the companyLogo
	 */
	public String getCompanyLogo() {
		return companyLogo;
	}
	/**
	 * @param companyLogo the companyLogo to set
	 */
	public void setCompanyLogo(String companyLogo) {
		this.companyLogo = companyLogo;
	}
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}
	/**
	 * @return the userId
	 */
	public int getUserId() {
		return userId;
	}

}
